﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 易仓仓库信息
    /// </summary>
    /// 

    public class EC_WarehouseDTO
    {
        public string code { get; set; }
        public string message { get; set; }
        public string requestId { get; set; }
        public long timestamp { get; set; }
        public string version { get; set; }
        public string nonce_str { get; set; }
        public string sign_type { get; set; }
        public string sign { get; set; }
        public string biz_content { get; set; }

    }


    public class EC_Warehouse_Data
    {
        public string total { get; set; }
        public string pi_id { get; set; }
        public int page { get; set; }
        public int page_size { get; set; }
        public List<EC_Warehouse> data { get; set; }
    }

    public class EC_Warehouse
    {
        public string ID { get; set; }
        public string RowId { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public string warehouse_id { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string warehouse_name { get; set; }
        /// <summary>
        /// 仓库代码
        /// </summary>
        public string warehouse_code { get; set; }
        /// <summary>
        /// 类型， 1：自营仓，2三方仓，3中转仓
        /// </summary>
        public string warehouse_type { get; set; }
        /// <summary>
        /// 状态， 0:不可用;1:可用;-1:已废弃
        /// </summary>
        public string warehouse_status { get; set; }



    }
}
